package com.mtnz.njk.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.*;

/**
 * @Description: 购物车实体类
 * @Author: FBL
 * @CreateDate: 2019\7\11 0011 10:29
 * @Version: 1.0
 */
@Data
@Table(name = "cart")
public class CartEntity {
    @Id
    @Column(name = "cart_id")
    @KeySql(useGeneratedKeys = true)
    private Integer cartId;
    @Column(name = "user_id")
    private String userId;
    @Column(name = "del_flag")
    private Integer delFlag;


}
